package com.maxsalad.uc.pojo;

import com.maxsalad.common.po.AutoBasePO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by Administrator on 2016-3-13.
 */
@Entity
@Table(name = "t_dish")
public class TDishEntity extends AutoBasePO implements Serializable {
    private long shopId;
    private String pospalId;
    private String baiduId;
    private String elemeId;
    private String barcode;
    private String dishName;
    private int dishOrder;
    private int isValid = 1;
    private String description;

    @Column(name = "shop_id", nullable = true)
    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    @Column(name = "pospal_id", nullable = true)
    public String getPospalId() {
        return pospalId;
    }

    public void setPospalId(String pospalId) {
        this.pospalId = pospalId;
    }

    @Column(name = "baidu_id", nullable = true)
    public String getBaiduId() {
        return baiduId;
    }

    public void setBaiduId(String baiduId) {
        this.baiduId = baiduId;
    }

    @Column(name = "eleme_id", nullable = true)
    public String getElemeId() {
        return elemeId;
    }

    public void setElemeId(String elemeId) {
        this.elemeId = elemeId;
    }

    @Column(name = "barcode", nullable = false)
    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    @Column(name = "dish_name", nullable = false)
    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    @Column(name = "dish_order", nullable = true)
    public int getDishOrder() {
        return dishOrder;
    }

    public void setDishOrder(int dishOrder) {
        this.dishOrder = dishOrder;
    }

    @Column(name = "is_valid", nullable = false)
    public int getIsValid() {
        return isValid;
    }

    public void setIsValid(int isValid) {
        this.isValid = isValid;
    }

    @Column(name = "description", nullable = true)
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
